#===========================================================================
#
#   Makefile.am
#
#===========================================================================
# $Id: Makefile.am,v 1.17 2003/03/17 12:48:16 raitner Exp $

#---------------------------------------------------------------------------
#   General Settings
#---------------------------------------------------------------------------
ACLOCAL_AMFLAGS = -I m4

SUBDIRS = doc src include tests

AUTOMAKE_OPTIONS = dist-zip dist-bzip2 dist-zip

EXTRA_DIST =				\
	GTL.spec			\
	README.Irix			\
	README.win			\
	src/GTL.dsw			\
	src/GTL_dynamic.dsp		\
	src/GTL_static.dsp		\
	src/GTL.sln			\
	src/GTL_dynamic.vcproj		\
	src/GTL_static.vcproj

#---------------------------------------------------------------------------
#   Goal for building documentation
#---------------------------------------------------------------------------

.PHONY: doc runtests

runtests:
	make
	cd tests; $(MAKE) runtests

docs:
	cd doc; $(MAKE) doc

cleaner:
	rm -r -v -f autom4te.cache
	rm -r -v -f m4
	rm -r -v -f ./config
	rm -r -v -f src/.deps
	rm -r -v -f src/.libs
	rm -v -f doc/Makefile.in
	rm -v -f doc/Makefile
	rm -v -f doc/userguide/Makefile.in
	rm -v -f doc/userguide/Makefile
	rm -v -f include/Makefile.in
	rm -v -f include/Makefile
	rm -v -f include/GTL/Makefile.in
	rm -v -f include/GTL/Makefile
	rm -v -f src/Makefile.in
	rm -v -f src/Makefile
	rm -v -f src/*.lo
	rm -v -f src/*.la
	rm -v -f tests/Makefile.in
	rm -v -f tests/Makefile
	rm -r -v -f tests/.deps
	rm -v -f Makefile.in
	rm -v -f Makefile
	rm -v -f configure
	rm -v -f *.m4
	rm -v -f *.errors
	rm -v -f config.log
	rm -v -f config.status
	rm -v -f libtool
	rm -v -f stamp-h1

#---------------------------------------------------------------------------
#   end of file
#---------------------------------------------------------------------------
